﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using MVCnExt.Util;
using MVCnExt.Web.UI.Ext;
using System.Web.Script.Serialization;
using System.Reflection;

namespace MVCnExt.Controllers
{
    [HandleError]
    public class FormController : Controller
    {
        public ActionResult Manual()
        {
            ViewData["Title"] = "Example of Manual Tree";

            return View();
        }
      
        public ActionResult Basic()
        {
            ViewData["Title"] = "Example of Form Basic";

            return View();
        }

        public ActionResult ComboBox()
        {
            //var selectList = new SelectList(customerFactory.RetreiveAll(), "CustomerID", "CompanyName");
            ViewData["Title"] = "Example of Combobox";

            return View();
        }

        public ActionResult Editor()
        {
            //var selectList = new SelectList(customerFactory.RetreiveAll(), "CustomerID", "CompanyName");
            ViewData["Title"] = "Example of HTML Editor";

            return View();
        }

        public ActionResult Tabs()
        {
            //var selectList = new SelectList(customerFactory.RetreiveAll(), "CustomerID", "CompanyName");
            ViewData["Title"] = "Example of Form tabs";

            return View();
        }

        public ActionResult FieldSet()
        {
            //var selectList = new SelectList(customerFactory.RetreiveAll(), "CustomerID", "CompanyName");
            ViewData["Title"] = "Example of Form Field set";

            return View();
        }
        
    }   

}
